package com.sdu.douban_comment.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class Comment {

    private Double score; //评分

    private Long evaluatorNum; //评价人数

    private StarPercentage percentage; //星级百分比

    @JsonIgnore
    private ShortComment[] shortComments;

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Long getEvaluatorNum() {
        return evaluatorNum;
    }

    public void setEvaluatorNum(Long evaluatorNum) {
        this.evaluatorNum = evaluatorNum;
    }

    public StarPercentage getPercentage() {
        return percentage;
    }

    public void setPercentage(StarPercentage percentage) {
        this.percentage = percentage;
    }

    public ShortComment[] getShortComments() {
        return shortComments;
    }

    public void setShortComments(ShortComment[] shortComments) {
        this.shortComments = shortComments;
    }
}
